package petrochina.company.electric.http.api;

import com.hjq.http.config.IRequestApi;

/**
 *    desc   : 申请提交
 */
public final class TaskApplyAddApi implements IRequestApi {

    @Override
    public String getApi() {
        return "taskapply/addTaskApply";
    }

    // 任务人Id
    private long staffId;
    // 任务内容
    private String taskContent;
    // 线路id
    private long circuitId;
    // 区域id
    private long regionId;
    // 断路器id
    private long equipId;
    // 电压断路器Id  以逗号分隔id
    private String electricEquips;
    // 储能断路器Id  以逗号分隔id
    private String energyEquips;

    public TaskApplyAddApi setStaffId(long staffId) {
        this.staffId = staffId;
        return this;
    }

    public TaskApplyAddApi setTaskContent(String taskContent) {
        this.taskContent = taskContent;
        return this;
    }

    public TaskApplyAddApi setCircuitId(long circuitId) {
        this.circuitId = circuitId;
        return this;
    }

    public TaskApplyAddApi setRegionId(long regionId) {
        this.regionId = regionId;
        return this;
    }

    public TaskApplyAddApi setEquipId(long equipId) {
        this.equipId = equipId;
        return this;
    }

    public TaskApplyAddApi setElectricEquips(String electricEquips) {
        this.electricEquips = electricEquips;
        return this;
    }

    public TaskApplyAddApi setEnergyEquips(String energyEquips) {
        this.energyEquips = energyEquips;
        return this;
    }

    public final class Bean {


    }
}